/*
    4D (the "Software") and the corresponding source code remain
    the exclusive property of 4D and/or its licensors and are protected by national
    and/or international legislations.
    This file is part of the source code of the Software provided under the relevant
    4D License Agreement available on http://www.4D.com/license whose compliance
    constitutes a prerequisite to any use of this file and more generally of the
    Software and the corresponding source code.
*/

html * {
/* 	border: 1px dotted red; */
}

div.container {
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	color: black;
	z-index: -1;
}

button {
  font-size: 12px;
	color: rgb(6,116,138);
  outline: none;
}

.header {
	position: absolute;
	left: 20px;
	top: 0px;
	width: 760px;
  height: 55px;
	background-image: url("images/line.png");
	background-repeat: repeat-x;
	background-position: left bottom;
	background-size: 90% 2px;
  color: dimgray;
}

.welcome {
  font-size: 32px;
  margin-top: 15px;
}

#log {
    margin-top: 22px;
    background-position: left center;
    padding-left: 25px;
}

.signin {
    background-image: url("images/sign-in.png");
}

.signout {
    background-image: url("images/sign-out.png");
}

#logo {
	position: absolute;
	left: 480px;
	top: 75px;
	width: 240px;
	height: 240px;
}

#banner {
    position: absolute;
    top: 347px;
    left: 0px;
    width: 800px;
    height: 150px;
}

#banner>img {
    width: 100%;
    height: 100%;
}

.footer {
	position: fixed;
	bottom: 0; 
	right: 20px;
	width: 760px;
	height: 44px;
	font-size: 12px;
	text-align: center;
}

.footer-element {
	position: relative;
	top:15px;
	display: inline;
	padding-right: 20px;
	padding-left: 0;
}

.version {
  color: dimgray;
	display: inline-block;
	padding-left: -30px;
}

.timeRemaining {
  color: red;
	display: inline-block;
	padding-left: -30px;
}

.title {
	font-size: 3.5vh;
	font-weight:bold;
	color: #333333;
	padding-left: 15px;
}

.menu {
	position: absolute;
	top: 65px;
	left: 40px;
	font-size: 16px;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow:hidden; 
	border-collapse: collapse;
	margin: 0px;
	padding: 0px;
	vertical-align: middle;
}

.database {
	background-position: 20px;
	background-size: 20px;
}

.connect, 
.local, 
.new {
	height: 40px;
	background-size: 20px;
}

.connect {
	background-image: url("images/connect.png");
}

.local {
	background-image: url("images/open.png");
}

.new {
	background-image: url("images/create.png");
}

.remote {
	background-image: url("images/connect.png");
}

[name="menu-title"] {
	background-position: 0 5px;
	height: 23px;
	font-weight: bold;
	margin-bottom:5px;
}

.opened {
	background-image: url("images/menuOpen.png");
}

.closed {
  background-image: url("images/menuClose.png");
}

.menu_item_0, 
.menu_item_1,
.menu_item_2 {
	font-size: 3vh;
	color: #333333;
	background-position: left;
}

.menu_item_0 {
	padding-left: 45px;
	height: 26px;
}

.menu_item_1 {
	padding-left: 35px;
	background-size: 25px 25px;
}
.menu_item_2 {
	padding-left: 35px;
	background-size: 25px 25px;
}
.title:hover,
.connect:hover, 
.local:hover, 
.new:hover,
.store:hover,
#banner>img:hover,
button:hover,
[name="menu-item"]:hover,
tr.database:hover,
label:hover {
  cursor: pointer;
}

tr[class="opened"]>td>span:hover {
 cursor: default;
}

.store {
    margin-top: 16px;
    background-image: url("images/store.png");
    background-position: left center;
    padding-left: 25px;
}

.store:hover {
    text-decoration: underline;
}